﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Transformer.iHunter
{
    [Flags]
    public enum FilterAction
    {
        None = 0,
        MoveToFolder = 1,
        MarkAsRead = 2,
        Delete = 4,
        MarkAsSpam = 8,
        MarkAsNonspam = 16
    }

    public class FilterInfo
    {
        /// <summary>
        /// Filter Guid
        /// </summary>
        public Guid Guid;

        /// <summary>
        /// Filter Provider Guid
        /// </summary>
        public Guid ProviderGuid;

        /// <summary>
        /// Folder Guid if the action is MoveToFolder
        /// </summary>
        public Guid FolderGuid;

        /// <summary>
        /// Filter Settings
        /// </summary>
        public string Settings;

        /// <summary>
        /// Filter Name
        /// </summary>
        public string Name;

        /// <summary>
        /// The action perform when filter returns true
        /// </summary>
        public FilterAction Action;

    }
}
